Generate PDFs and screenshots from HTML via Claude Desktop, Cursor, or any MCP-compatible agent. Hosted server at mcp.docapi.co — no local install required. Authenticate with your DocAPI key. Free tier: 100
calls/month.
Overview
Generate PDFs and screenshots from HTML directly inside Claude Desktop or Cursor.
Tools
- docapi_generate_pdf — Convert HTML to PDF with full CSS support (Grid, Flexbox, custom fonts). Returns base64 PDF.
- docapi_capture_screenshot — Screenshot any URL or HTML at custom dimensions. Returns inline image.
- docapi_check_credits — Check remaining credits and USDC top-up address (agent accounts).
- docapi_register_agent — Register a new DocAPI agent account programmatically.
Setup
- Get a free API key at https://www.docapi.co/signup (100 calls/month, no credit card)
- Add to your MCP config and restart your client
No local install. The server runs at mcp.docapi.co — your key is passed per-request and never stored.
Pricing
- Free: 100 calls/month
- Starter: $19/month — 1,000 calls
- Pro: $49/month — 5,000 calls
- Agents: $0.02/call via USDC on Base mainnet
Server Config
{
"mcpServers": {
"docapi": {
"url": "https://mcp.docapi.co/mcp",
"headers": {
"x-api-key": "<YOUR_DOCAPI_KEY>"
}
}
}
}